using System;
using Rhino.Commons;

namespace Bxo.TestingPortal.WebApplication.Tests {
    public class DataPreparationScope : IDisposable {
        public void Dispose() {
            UnitOfWork.Current.TransactionalFlush();
            UnitOfWork.CurrentSession.Clear();
        }
    }
}